package com.tour.pojo;

import java.util.Date;

public class TrevalProject {
    private Long trId;

    private Integer projectType;

    private String title;

    private String titleImg;

    private String sellPoint;

    private Integer fromSta;

    private Integer toSta;

    private Integer duration;

    private Integer price;

    private Integer peopleNum;

    private Integer soldCount;

    private String mainImg;

    private Integer userId;

    private Integer scenicId;

    private Integer status;

    private String dateRange;

    private Date createTime;

    private Date updateTime;
    //项目景点
    private  String scenicName;
    private String username;

    public TrevalProject(Long trId, Integer projectType, String title, String titleImg, String sellPoint, Integer fromSta, Integer toSta, Integer duration, Integer price, Integer peopleNum, Integer soldCount, String mainImg, Integer userId, Integer scenicId, Integer status, String dateRange, Date createTime, Date updateTime) {
        this.trId = trId;
        this.projectType = projectType;
        this.title = title;
        this.titleImg = titleImg;
        this.sellPoint = sellPoint;
        this.fromSta = fromSta;
        this.toSta = toSta;
        this.duration = duration;
        this.price = price;
        this.peopleNum = peopleNum;
        this.soldCount = soldCount;
        this.mainImg = mainImg;
        this.userId = userId;
        this.scenicId = scenicId;
        this.status = status;
        this.dateRange = dateRange;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public TrevalProject() {
        super();
    }

    public Long getTrId() {
        return trId;
    }

    public void setTrId(Long trId) {
        this.trId = trId;
    }

    public Integer getProjectType() {
        return projectType;
    }

    public void setProjectType(Integer projectType) {
        this.projectType = projectType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSellPoint() {
        return sellPoint;
    }

    public void setSellPoint(String sellPoint) {
        this.sellPoint = sellPoint == null ? null : sellPoint.trim();
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getPeopleNum() {
        return peopleNum;
    }

    public void setPeopleNum(Integer peopleNum) {
        this.peopleNum = peopleNum;
    }

    public String getMainImg() {
        return mainImg;
    }

    public void setMainImg(String mainImg) {
        this.mainImg = mainImg == null ? null : mainImg.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getScenicId() {
        return scenicId;
    }

    public void setScenicId(Integer scenicId) {
        this.scenicId = scenicId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


	/**
	 * @return the scenicName
	 */
	public String getScenicName() {
		return scenicName;
	}

	/**
	 * @param scenicName the scenicName to set
	 */
	public void setScenicName(String scenicName) {
		this.scenicName = scenicName;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the fromSta
	 */
	public Integer getFromSta() {
		return fromSta;
	}

	/**
	 * @param fromSta the fromSta to set
	 */
	public void setFromSta(Integer fromSta) {
		this.fromSta = fromSta;
	}

	/**
	 * @return the toSta
	 */
	public Integer getToSta() {
		return toSta;
	}

	/**
	 * @param toSta the toSta to set
	 */
	public void setToSta(Integer toSta) {
		this.toSta = toSta;
	}

	/**
	 * @return the dateRange
	 */
	public String getDateRange() {
		return dateRange;
	}

	/**
	 * @param dateRange the dateRange to set
	 */
	public void setDateRange(String dateRange) {
		this.dateRange = dateRange;
	}

	/**
	 * @return the soldCount
	 */
	public Integer getSoldCount() {
		return soldCount;
	}

	/**
	 * @param soldCount the soldCount to set
	 */
	public void setSoldCount(Integer soldCount) {
		this.soldCount = soldCount;
	}

	/**
	 * @return the titleImg
	 */
	public String getTitleImg() {
		return titleImg;
	}

	/**
	 * @param titleImg the titleImg to set
	 */
	public void setTitleImg(String titleImg) {
		this.titleImg = titleImg;
	}
}